package jsu.blogger.mapper;

import jsu.blogger.pojo.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface TestMapper {

    @Select("select *from blog_system_database.users limit #{pageBegin},#{pageSize}")
    List<Users> selectUsersByPage(@Param("pageBegin")int pageBegin,@Param("pageSize") int pageSize);
}
